import { IPanelDetailControllerParams } from './i-panel-detail-controller-params';

/**
 * 面板容器控制器输入参数基类接口
 *
 * @export
 * @interface IPanelControllerControllerParams
 * @extends {IPanelDetailControllerParams}
 */
export interface IPanelControllerControllerParams
	extends IPanelDetailControllerParams {
	/**
	 * 子项
	 *
	 * @type {string[]}
	 * @memberof IPanelControllerControllerParams
	 */
	details: string[];

	/**
	 * 标题关闭模式
	 *
	 * @type {number}
	 * @memberof IPanelControllerControllerParams
	 */
	titleBarCloseMode: number;

	/**
	 * 应用实体codeName
	 *
	 * @type {string}
	 * @memberof IPanelControllerControllerParams
	 */
	appDataEntityCodeName: string;

	/**
	 * 应用实体方法CodeName
	 *
	 * @type {string}
	 * @memberof IPanelControllerControllerParams
	 */
	appDEMethodCodeName: string;

	/**
	 * 数据区域类型
	 *
	 * @type {(string | 'NONE' | 'LOGINFORM' | 'SINGLEDATA' | 'MULTIDATA' | 'INHERIT' | 'USER' | '')}
	 * @memberof IPanelControllerControllerParams
	 */
	dataRegionType:
		| string
		| 'NONE'
		| 'LOGINFORM'
		| 'SINGLEDATA'
		| 'MULTIDATA'
		| 'INHERIT'
		| 'USER'
		| '';

	/**
	 * 数据源类型
	 *
	 * @type {(string | 'DEACTION' | 'DEDATASET' | 'DELOGIC' | 'APPGLOBALPARAM' | 'TOPVIEWSESSIONPARAM' | 'VIEWSESSIONPARAM' | '')}
	 * @memberof IPanelControllerControllerParams
	 */
	dataSourceType:
		| string
		| 'DEACTION'
		| 'DEDATASET'
		| 'DELOGIC'
		| 'APPGLOBALPARAM'
		| 'TOPVIEWSESSIONPARAM'
		| 'VIEWSESSIONPARAM'
		| '';
}
